import request from '@/utils/request'




const BASE_URL='/admin/system/sysEstateCount';

export default{

    getPageList(page,limit,searchObj){
      return request({
            url:`${BASE_URL}/${page}/${limit}`,
            method:'get',
            params:searchObj
        })
    },

    getCountById(id){
        return request({
            url:`${BASE_URL}/getCountById/${id}`,
            method:'get',
            
        })
    },

    updateCount(sysCount){
        return request({
            url:`${BASE_URL}/updateCountById`,
            method:'post',
            data:sysCount
        })
    },

    removeById(id){
        return request({
            url:`${BASE_URL}/removeCountById/${id}`,
            method:'delete',
            
        })
    },

    addCount(sysCount){
        return request({
            url:`${BASE_URL}/addCount/`,
            method:'post',
            data:sysCount
        })
    },

    removeById(ids){
        return request({
            url:`${BASE_URL}/removeCountByIds`,
            method:'delete',
            data:ids
        })
    },




    
}